<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--
/* Licence:
*   Use this however/wherever you like, just don't blame me if it breaks anything.
*
* Credit:
*   If you're nice, you'll leave this bit:
*
*   Class by Pierre-Alexandre Losson -- http://www.telio.be/blog
*   email : plosson@users.sourceforge.net
*/
--%>
<html>
    <head>
        <title>上传用户信息文件</title>
        <script src='../../js/upload.js'> </script>
        <script src='../dwr/interface/UploadMonitor.js'> </script>
        <script src='../dwr/engine.js'> </script>
        <script src='../dwr/util.js'> </script>
        <style type="text/css">
            body { font: 11px Lucida Grande, Verdana, Arial, Helvetica, sans serif; }
            #progressBar { padding-top: 5px; }
            #progressBarBox { width: 350px; height: 20px; border: 1px inset; background: #eee;}
            #progressBarBoxContent { width: 0; height: 20px; border-right: 1px solid #444; background: #9ACB34; }
             .btn{height:25px;};
        </style>
    </head>
<body>
<div>
<form style="margin-left:auto;margin-right:auto" action="../../file/dealfile.do" enctype="multipart/form-data" method="post" onsubmit="startProgress()">
    <p style="color:#FF0000">
     <pre> 
            你上传的文件必须满足一下规则：
             用户编号、用户名、电子邮件、备注;
             若用户编号已存在，原用户信息将被更新;          
      </pre>   
    </p>

    <p>
        <input class="btn" type="file" id="file1" name="file1"/><br/>       
        <input class="btn" type="submit" value="begin upload" id="uploadbutton"/>
        <input class="btn" type="button" value="cancel" onclick="parent.open1('user/userList.jsp');" id="uploadbutton"/>

        <br/>

        <div id="progressBar" style="display: none;">

            <div id="theMeter">
                <div id="progressBarText"></div>

                <div id="progressBarBox">
                    <div id="progressBarBoxContent"></div>
                </div>
            </div>
        </div>
    </p>
</form>
</div>
</body>
</html>